package com.wanmait.houlang.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.houlang.pojo.DTO;
import com.wanmait.houlang.pojo.School;

import java.util.List;


public interface SchoolService extends CommonService<School>{
//    PageInfo<School> findAl(int pageNum, int pageSize, DTO object);
    PageInfo<School> findAll(int pageNum, int pageSize, DTO object);

    List<School> findByProfessionalId(String professionalId);

    PageInfo<School> searchSchoolByName(Integer pageNum, int pageSize, DTO dto);
}
